package test.com.pure.model.vo
{
	import com.pure.model.vo.UserVO;
	
	import org.flexunit.Assert;
	
	public class TestUserVO
	{
		[Before]
		public function setUp():void
		{

		}
		
		[After]
		public function afterTest():void
		{
			
		}
		
		[Test]
		public function buildUserVO():void 
		{
			var name:String		= "Xiao Ming";
			var school:String 	= "JNU";
			var email:String 	= "xiaoming@126.com";
			
			var userVO:UserVO = new UserVO(name, email, school);
			Assert.assertEquals(name, userVO.name);
			Assert.assertEquals(school, userVO.school);
			Assert.assertEquals(email, userVO.email);
			Assert.assertTrue(userVO.isValid);
		}
	}
}